package com.zsy.service;

import com.zsy.dto.DishDto;
import com.zsy.pojo.Dish;
import com.zsy.pojo.Page;
import com.zsy.pojo.R;

import java.util.List;

public interface DishService {

    void save(DishDto dishDto);

    Page<DishDto> page(int size, int sizePage, String name);

    DishDto findById(Long id);

    void update(DishDto dishDto);

    List<DishDto> dishList(Long categoryId,Integer status);

    void updateStatus(Integer status, List<Long> ids);


    void delete(List<Long> ids);
}
